<template>
	<view class="content">
				<view>
			<rich-text-editor v-model="richText" @input="input" style="height: 70vh;"></rich-text-editor>
		</view>
	</view>
</template>

<script>
	import richTextEditor from '../../editor/editor.vue'
	export default {
		components: {
			richTextEditor
		},
		data() {
			return {
				title: 'Hello',
				statusBarHeight: 20,
				richText: '',
				ruleForm:{
					content:""
				}
			}
		},
		onLoad() {

		},
		methods: {
			input(e) {
				console.log('这里是初始内容.................', e)
				this.ruleForm.content = e
			},
			btnEditor(){
				uni.navigateTo({
					url:"/pages/edit/index"
				})
			}
		},
	}
</script>

<style>
	.content {
		margin-top: 150px;
	}

</style>